// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

.el-button--text-danger{
  border-color: transparent;
  color: #F56C6C;
  background: none;
  padding-left: 0;
  padding-right: 0;
}
.el-button--text-danger:hover,.el-button--text-danger:focus{
  color: #f78989;
  border-color: transparent;
  background-color: transparent;
}

.el-select,.el-cascader,.el-date-editor.el-input,.el-date-editor--daterange.el-input__inner{
  width: 100%;
  max-width: 100%;
}

.el-form-noValid .el-form-item{
  margin-bottom: 6px;
}
.el-form-item > label {
  word-break: break-word;
}

.el-dialog.el-dialog-center{
  /* max-width: 95vw; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0!important;
}

.el-input-number{
  max-width: 100%;
}

.el-form-item__content .el-input-group {
  vertical-align: middle;
}
.el-textarea .el-input__count{
  opacity: .5;
  line-height: 12px;
  right: 2px;
  bottom: 2px;
}

.el-image-viewer__wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20000!important;
}

.el-image-viewer__mask {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: .8;
  background: #000;
}
